package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/16.14:36
 */
/**
    * 印章归属表
    */
@ApiModel(value="com-bosssoft-entity-po-FibSealDept")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_seal_dept")
public class FibSealDeptPO implements Serializable {
    /**
     * 印章序号
     */
    @TableId(value = "seal_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="印章序号")
    private Long sealId;

    /**
     * 印章所属部门编号
     */
    @TableField(value = "dept_id")
    @ApiModelProperty(value="印章所属部门编号")
    private Long deptId;

    //----------------自动赋值---------------------------------
    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 激活状态
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value="激活状态")
    private Byte deleted;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;



    private static final long serialVersionUID = 1L;
}